#include "Child.h"
#include "Nurse.h"
#include <iostream>
#include <memory>
#include "vld.h"
using namespace std;

typedef shared_ptr<CNurse> CNurseRef;
typedef shared_ptr<CChild> ChildRef;
int main()
{
	CNurseRef pNurseRef(new CNurse());
	ChildRef pChild(new CChild(pNurseRef.get()));
	pChild->needEat();
	pChild->needBath();

}
//end
